﻿using System;
using System.Runtime.InteropServices;

namespace YArchitech.Controls.ImgListView
{
	[ComVisible(true)]
	[Serializable]
	public class ThumbnailCachedEventArgs
	{
		public ImageListViewItem Item
		{
			get
			{
				return this.mItem;
			}
		}

		public bool Error
		{
			get
			{
				return this.mError;
			}
		}

		public ThumbnailCachedEventArgs(ImageListViewItem item, bool error)
		{
			this.mItem = item;
			this.mError = error;
		}

		private ImageListViewItem mItem;

		private bool mError;
	}
}
